<table width="100%" cellpadding="2" cellspacing="1" class="table_form">


    <if condition="$remark">
    <tr>
        <td class="tc" colspan="5" style="padding-left: 50px;">
            <form id="form_task_log" action="/index.php/Admin/Task/task_log_add" method="post">
                <table>
                    <tr>
                        <td>
                            <input name="message" id="message" type="text" class="w450" placeholder="填写备注" />
                        </td>
                        <td>
                            <div class="ui-button ui-button-sorange">
                                <input type="button" class="ui-button-text" value="提交" onclick="javascript:task_log_add(this,{$task_id});" />
                            </div>
                            <input type="hidden" name="task_id" id="task_id" value="{$task_id}" />
                        </td>
                    </tr>
                </table>
            </form>

        </td>
    </tr>

    </if>

	<tr>
		<th style="width:120px;">管理员</th>
		<th style="">内容</th>
		<th style="width:100px;">任务状态</th>
		<th style="width:100px;">支付状态</th>
		<th style="width:120px;">添加日期</th>
	</tr>

	<volist name="task_logs" id="t">
	<tr>
		
		<td class="tc">{$t.real_name}</td>
		<td>{$t.message}</td>
		<td class="tc">{$t.task_status_name}</td>
		<td class="tc">{$t.pay_status_name}</td>
		<td class="tc">{$t.created}</td>		
	</tr>
	</volist>

</table>